home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / exec < prev    next >
Encoding:
Text File  |  2001-03-21  |  665 b   |  23 lines

  1. Synopsis:
  2.    on [<modes>]exec [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever an EXECed process generates output to
  6.    standard output.
  7.  
  8. Parameters:
  9.    $0    the pid of the EXECed process that triggered the hook (an internal
  10.          | number, not the system pid); if the process was started with the
  11.          | -name switch, the name specified is returned instead
  12.    $1-   a line of the process's output stderr
  13.  
  14. Examples:
  15.    To distinguish process output from other window output:
  16.       on ^exec "*" {
  17.          echo [$0] $1-
  18.       }
  19.  
  20. See Also:
  21.    exec(5); on(5) exec_errors, exec_exit, exec_prompt
  22.  
  23.